﻿ 

using System;
using System.Collections.Generic;

namespace CarTrackr.Business.Services
{
    public interface  IAppService
    {
        //User
        List<User> ListUsers();
        User GetUserByName(string userName);

        //Car
        List<Car> ListCars(Guid userId);
        Car GetCarById(Guid id);
        Car GetCarByLicensePlate(string licensePlate);
        void AddCar(Car car, Guid userId);
        void UpdateCar(Car car);
        void RemoveCar(Guid id);



        //Refuelling
        List<Refuelling> ListRefuellings(Guid id);
        void AddRefuelling(Refuelling refuelling,Guid carId);
        void RemoveRefuelling(Guid id); 


    }
}
